home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
ShellPanel
/
getopt.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-06-12
|
226b
|
8 lines
extern int getopt(int argc, char **argv, char *optstring);
extern char *optarg;
extern int optind, opterr;
#define optopt argv[optind - 1][1]
#define getarg(c, v) ((optind < c) ? ((optarg = argv[optind++]) ? 0 : EOF) : EOF)